﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManageTable.aspx.cs" Inherits="Table_ManageTable" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>餐座管理</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="BtnAdd" runat="server"  Style="z-index: 100;
            left: 56px; position: absolute; top: 40px" Text="添加" Width="109px" OnClick="BtnAdd_Click" />
        &nbsp; &nbsp;
        <asp:Button ID="BtnDel" runat="server" Style="z-index: 101; left: 336px; position: absolute;
            top: 40px" Text="删除 " Width="109px" OnClick="BtnDel_Click" />
        <asp:Button ID="BtnUpdate" runat="server" Style="z-index: 102;
            left: 200px; position: absolute; top: 40px" Text="修改" Width="109px" OnClick="BtnUpdate_Click" />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
            ForeColor="#333333" GridLines="None" Height="193px" 
            Style="z-index: 103; left: 48px; position: absolute; top: 88px" Width="593px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="T_nID" HeaderText="编号" />
                <asp:BoundField HeaderText="座位数" DataField="T_nSeatNum" />
                <asp:BoundField DataField="T_fAverageCost" HeaderText="平均消费" />
                <asp:BoundField DataField="TA_sName" HeaderText="餐位位置" />
                <asp:CommandField HeaderText="选择" ShowSelectButton="True" />
            </Columns>
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="z-index: 105;
            left: 480px; position: absolute; top: 40px" Text="返回餐厅管理" Width="115px" />
    
    </div>
    </form>
</body>
</html>
